package com.example.exception;

public class BusinessException extends RuntimeException {//自定义业务异常
/**    继承
 *     RuntimeException运行时异常 程序可以选择处理或者不处理
 *     Exception受检异常 处理方式1.try()catch{}  2.throws
 */

    /**
     * 重写构造
      */
    public BusinessException() {
        super();
    }

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String message, Throwable cause) {
        super(message, cause);
    }



}
